package com.hzit.order.service;



import com.hzit.cart.api.domain.Order;
import com.hzit.cart.api.domain.PayLog;
import com.hzit.cart.api.model.ItemVo;
import com.hzit.order.vo.OrderVo;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

public interface OrderService {
	Map<String, List<ItemVo>> findCartInfo();

	void saveOrder(OrderVo order,String login) throws ExecutionException, InterruptedException;


	PayLog getPayLogFromRedis(String login);

	List<Order> getOrderList();
}
